package com.jweb.dao.login;

import org.springframework.dao.DataAccessException;

import java.util.List;

import com.jwt.dao.bean.Account;

/**
 * 
 * @author Paul Kevin
 * 
 */
public interface AccountDAO {

	public Account getAccount(String username) throws DataAccessException;

	public Account getAccount(String username, String password)
			throws DataAccessException;

	@SuppressWarnings("unchecked")
	public List getUsernameList() throws DataAccessException;

}
